package dao;

import domain.Device;

/**
 * Created by chen<chen@youjianghr.com> on 2015/7/20.
 *
 * @author chen<chen@youjianghr.com>
 */
public interface DeviceDao extends GenericDao<Device, Long> {

    void updateLastUse(long id);

    Device getByUserIdAndIMEI(long userId, String IMEI);
}
